<?php

include_once "lib/config.php";
require_once("includes/pagetop.php");

$conditionarr=array(":id"=>4);
$pageinfo=$pdodbobj->fetch_array($pdodbobj->query("select * from pages where id=:id",$conditionarr));

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AllyFolio | About US </title>
<link href="css/style.css" rel="stylesheet" type="text/css" media="all"  />


</head>

<body>

	<div id="iframecontentdiv">
    <div class="wrapper">
    	<div class="header">
        		<div class="contain-wrap" >
                
<?php
if(count($pageinfo)>0)
{
    if(isset($_REQUEST['size']) && $_REQUEST['size']>0)
    {
        echo substr($pageinfo[0][$_REQUEST['type']],0,$_REQUEST['size']);
        if(strlen($pageinfo[0][$_REQUEST['type']])>$_REQUEST['size'])
        {
            echo "...";
        }
    }
    else{
        
        echo $pageinfo[0][$_REQUEST['type']];
    }
}
?>
            <div class="clearfix"></div>
          </div>
        </div>
   </div>
   </div>
</body>
</html>          